<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>
  <div id="app">
    {{money | moneyFilter}}  <br></br>
    {{new Date() | dateFilter}}
  </div>
</body>
<script src="../js/vue.js"></script>
<script src="js/moment.js"></script>
<script>
  Vue.config.productionTip = false;
  Vue.filter('moneyFilter', function (value){
     return "$"+value
  })

  new Vue({
    el:"#app",
    data:{
      money:200
    },
    filters:{
      dateFilter(value){
        return moment(value).format('YYYY-MM-DD HH:mm:ss');
      }
    }
  })
</script>
</html>